package com.wx.resume_excel.dao;

import com.wx.resume_excel.model.JobSeeker;
import com.wx.resume_excel.model.ResumeTemplate;
import com.wx.resume_excel.model.SelectModel;
import com.wx.resume_excel.vo.JobSeekerVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * excelResume的dao层接口
 *
 * @Auther 田艺鹏
 * @DateTime 2020-08-03 10:50
 */
@Repository
public interface ExcelResumeDao {
    int addJobSeeker ( JobSeeker jobSeeker );

    List<JobSeeker> selectJobSeeker ();

    int addTemplateResume ( ResumeTemplate resumeTemplate );

    List<ResumeTemplate> selectTemplate ();

    JobSeeker selectByCallPhone ( String callPhone );

    ResumeTemplate selectByResumeCallPhone ( String callPhone );

    List<JobSeeker> selectBySelectModel ( SelectModel selectModel );

    ResumeTemplate selectByResumeNo ( String resumeNo );

    int updateResumeNo ( JobSeeker jobSeeker );

    JobSeeker selectSeekerByResumeNo ( String resumeNo );

    List<JobSeekerVo> findByJobSeekerPage ( JobSeekerVo jobSeekerVo );
}
